﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace SMS_Server_Manager
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            string path = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
            if (path[path.Length - 1] == '\\') path = path.Substring(0, path.Length - 1);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (!System.IO.File.Exists(path + "\\config\\config.src"))
            {
                Application.Run(new License_Agreement());
            }
            else
                Application.Run(new SplashScreen());
        }


    }
}
